interface GetCurrentCityAPIResData {
  status: string
  info: string
  infocode: string
  province: string
  city: string
  adcode: string
  rectangle: string
}

export function getCurrentCityAPI() {
  return mapHttpInstance.get<GetCurrentCityAPIResData>(
    '/v3/ip',
    { params: { key: import.meta.env.VITE_MAP_API_KEY } },
  )
}
